using System;

namespace Se.Framework.Test
{
    public class TestObjectRegistryTypeNotRegistered: Exception
    {
        public TestObjectRegistryTypeNotRegistered(Type type)
            :base(string.Format("Type {0} was not registered in test container", type.Name))
        {}   
        public TestObjectRegistryTypeNotRegistered(Type type, string name)
            : base(string.Format("Type '{0}' with name '{1}' was not registered in test container", type.Name, name))
        {}   
    }
}